package com.dog.basics.bean.dto.admin.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
@ApiModel(value = "修改文章评论")
public class ArticleCommentEditDto {


    /**
     * 分类id
     */
    @NotNull(message = "分类id不能为空")
    @ApiModelProperty(value = "分类id", dataType = "Long" )
    private Long id;

    /**
     * 上级分类
     */
    @ApiModelProperty(value = "上级分类", dataType = "Long" )
    private Long pid;

    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称", dataType = "String")
    private String name;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", dataType = "Integer")
    private Integer sort;
}
